package com.example.helloworld;

public class Mouse {
    private String name;
    private int id;
    public Mouse(String name, int id) {
        name = name;
        id = id;
    }

    public void eat(String name) {
        System.out.println("Mouse " + name + " is eating.");
    }

    public void sleep() {
        System.out.println("Mouse " + name + " is sleeping.");
    }

    public void introduce() {
        System.out.println("Mouse " + name + " is a small mouse with id " + id + ".");
    }
}
